﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001249 RID: 4681
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StopRogueAdventureRoomCsReq : IMessage<StopRogueAdventureRoomCsReq>, IMessage, IEquatable<StopRogueAdventureRoomCsReq>, IDeepCloneable<StopRogueAdventureRoomCsReq>, IBufferMessage
	{
		// Token: 0x17003B5C RID: 15196
		// (get) Token: 0x0600D1F1 RID: 53745 RVA: 0x00235B51 File Offset: 0x00233D51
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StopRogueAdventureRoomCsReq> Parser
		{
			get
			{
				return StopRogueAdventureRoomCsReq._parser;
			}
		}

		// Token: 0x17003B5D RID: 15197
		// (get) Token: 0x0600D1F2 RID: 53746 RVA: 0x00235B58 File Offset: 0x00233D58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StopRogueAdventureRoomCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003B5E RID: 15198
		// (get) Token: 0x0600D1F3 RID: 53747 RVA: 0x00235B6A File Offset: 0x00233D6A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StopRogueAdventureRoomCsReq.Descriptor;
			}
		}

		// Token: 0x0600D1F4 RID: 53748 RVA: 0x00235B71 File Offset: 0x00233D71
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StopRogueAdventureRoomCsReq()
		{
		}

		// Token: 0x0600D1F5 RID: 53749 RVA: 0x00235B84 File Offset: 0x00233D84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StopRogueAdventureRoomCsReq(StopRogueAdventureRoomCsReq other) : this()
		{
			this.gameScore_ = other.gameScore_;
			this.hitTargetIndexList_ = other.hitTargetIndexList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D1F6 RID: 53750 RVA: 0x00235BBA File Offset: 0x00233DBA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StopRogueAdventureRoomCsReq Clone()
		{
			return new StopRogueAdventureRoomCsReq(this);
		}

		// Token: 0x17003B5F RID: 15199
		// (get) Token: 0x0600D1F7 RID: 53751 RVA: 0x00235BC2 File Offset: 0x00233DC2
		// (set) Token: 0x0600D1F8 RID: 53752 RVA: 0x00235BCA File Offset: 0x00233DCA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GameScore
		{
			get
			{
				return this.gameScore_;
			}
			set
			{
				this.gameScore_ = value;
			}
		}

		// Token: 0x17003B60 RID: 15200
		// (get) Token: 0x0600D1F9 RID: 53753 RVA: 0x00235BD3 File Offset: 0x00233DD3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> HitTargetIndexList
		{
			get
			{
				return this.hitTargetIndexList_;
			}
		}

		// Token: 0x0600D1FA RID: 53754 RVA: 0x00235BDB File Offset: 0x00233DDB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StopRogueAdventureRoomCsReq);
		}

		// Token: 0x0600D1FB RID: 53755 RVA: 0x00235BEC File Offset: 0x00233DEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StopRogueAdventureRoomCsReq other)
		{
			return other != null && (other == this || (this.GameScore == other.GameScore && this.hitTargetIndexList_.Equals(other.hitTargetIndexList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D1FC RID: 53756 RVA: 0x00235C3C File Offset: 0x00233E3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GameScore != 0U)
			{
				num ^= this.GameScore.GetHashCode();
			}
			num ^= this.hitTargetIndexList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D1FD RID: 53757 RVA: 0x00235C89 File Offset: 0x00233E89
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D1FE RID: 53758 RVA: 0x00235C91 File Offset: 0x00233E91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D1FF RID: 53759 RVA: 0x00235C9C File Offset: 0x00233E9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GameScore != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.GameScore);
			}
			this.hitTargetIndexList_.WriteTo(ref output, StopRogueAdventureRoomCsReq._repeated_hitTargetIndexList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D200 RID: 53760 RVA: 0x00235CEC File Offset: 0x00233EEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GameScore != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GameScore);
			}
			num += this.hitTargetIndexList_.CalculateSize(StopRogueAdventureRoomCsReq._repeated_hitTargetIndexList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D201 RID: 53761 RVA: 0x00235D40 File Offset: 0x00233F40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StopRogueAdventureRoomCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GameScore != 0U)
			{
				this.GameScore = other.GameScore;
			}
			this.hitTargetIndexList_.Add(other.hitTargetIndexList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D202 RID: 53762 RVA: 0x00235D8D File Offset: 0x00233F8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D203 RID: 53763 RVA: 0x00235D98 File Offset: 0x00233F98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					if (num != 112U && num != 114U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.hitTargetIndexList_.AddEntriesFrom(ref input, StopRogueAdventureRoomCsReq._repeated_hitTargetIndexList_codec);
					}
				}
				else
				{
					this.GameScore = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005427 RID: 21543
		private static readonly MessageParser<StopRogueAdventureRoomCsReq> _parser = new MessageParser<StopRogueAdventureRoomCsReq>(() => new StopRogueAdventureRoomCsReq());

		// Token: 0x04005428 RID: 21544
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005429 RID: 21545
		public const int GameScoreFieldNumber = 8;

		// Token: 0x0400542A RID: 21546
		private uint gameScore_;

		// Token: 0x0400542B RID: 21547
		public const int HitTargetIndexListFieldNumber = 14;

		// Token: 0x0400542C RID: 21548
		private static readonly FieldCodec<uint> _repeated_hitTargetIndexList_codec = FieldCodec.ForUInt32(114U);

		// Token: 0x0400542D RID: 21549
		private readonly RepeatedField<uint> hitTargetIndexList_ = new RepeatedField<uint>();
	}
}
